package com.xiliu.server.modules.become.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiliu.server.modules.app.vo.BecomeVo;
import com.xiliu.server.modules.become.entity.XlBecome;

import java.util.List;


/**
 * 房管员认证表Service接口
 * 
 * @author xiliu
 * @date 2022-12-30
 */
public interface IXlBecomeService extends IService<XlBecome>{
    /**
     * 查询房管员认证表
     * @param comeId 房管员认证表主键
     * @return 房管员认证表
     */
    XlBecome selectXlBecomeByComeId(Long comeId);

    /**
     * 房管员认证提交
     * @param becomeVo 房管员认证信息
     * @return boolean
     */
    boolean creatBecome(BecomeVo becomeVo);

    /**
     * 查询认证表列表
     * @param xlBecome 认证表
     * @return 认证表集合
     */
    List<XlBecome> selectXlBecomeList(XlBecome xlBecome);

    /**
     * 批量删除认证表
     * @param becomeIds 需要删除的房源表主键集合
     * @return 结果
     */
    int deleteByBecomeIds(Long[] becomeIds);

}
